package org.example;


import java.time.Duration;

public class Main {
    public static void main(String[] args) {
        Duration d = new Duration(1, 1, 1);

        int totalSeconds = d.getTotalSeconds();


        /*
        Person zhangsan = new Person("张三");
        Car car = new Car();
        zhangsan.drive(car);

        Student s = new Student("张三", 19, "男", "10000");
        System.out.println(s.getName());
        System.out.println(s.getAge());
        s.setName("李四");
        System.out.println(s.getName());

         */
    }
}